package com.dao;

import com.entity.system.OrderPay;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderPayMapper {
    int deleteByPrimaryKey(@Param("id") Long id, @Param("createTime") Date createTime);

    int insert(OrderPay record);

    int insertSelective(OrderPay record);

    OrderPay selectByPrimaryKey(@Param("id") Long id, @Param("createTime") Date createTime);

    int updateByPrimaryKeySelective(OrderPay record);

    int updateByPrimaryKey(OrderPay record);

    /**
     * 支付列表
     * @param map
     * @return
     */
    List<OrderPay> fundOrderPayList(Map<String, String> map);

    OrderPay findByMap(Map<String,Object> map);

    Long sumPayPrice(Map<String,Object> map);
}